#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H
#include <QPushButton>
#include <QObject>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    //1正常 2切换
    MyPushButton(QString normalImg,QString pressImg="");
QString normalPath;
QString pressPath;
//向下跳跃
void zoom1();

//向上跳跃
void zoom2();
//鼠标按下
void mousePressEvent(QMouseEvent *e);
//鼠标释放
void mouseReleaseEvent(QMouseEvent *e);
signals:

};

#endif // MYPUSHBUTTON_H
